home *** CD-ROM | disk | FTP | other *** search
- ZEUS - THE IDE FOR CLIPPER
- UNREGISTERED VERSION - SHAREWARE
- <C> A.W.BELL 1992 - 1993
- MKII
-
-
- Zeus is an integrated IDE for Clipper developers.
-
- Imagine having a text editor that auto-indents your code, re-indents it
- should you tinker with it,will allow access to your databases in order to
- paste field names and alias's into your program,will compile and link (with
- the linker of your choice) and then run your program (under the debugger if
- required) all from within the IDE. If you can imagine this then you are
- imagining Zeus!
-
- More than that, Zeus comes complete with a Database Utility that fully
- supports the new IDX and CDX drivers, a Screen designer and CODE-GENERATOR
- that will generate the code for these screens, including GETS to Database
- Fields!
-
- Zeus has a built in Calculator for simple maths and a mini spreadsheet for
- the complex stuff.
-
- Yet Zeus is 99.99% Clipper code. There is just a smidgen of Assembler to do
- the things Clipper cannot - like determine the disk drive Zeus was called
- from etc.
-
- Zeus shows that the much maligned MEMOEDIT function can and does provide the
- block on which to build a decent text editor. The ONLY limitation is that
- files cannot be more than 64K long, but this is not so important for a
- program editor - it actually encourages shorter modules and makes for better
- programming style.
-
- On top of this, Zeus can be used as a mini wordprocessor, with word wrap and
- adjustable line lengths.
-
- Zeus has limited mouse support - for positioning the cursor and copy / paste
- routines.
-
- This copy of Zeus is UNREGISTERED. It is provided as SHAREWARE and has no
- limitations whatsoever. Please support the shareware concept - if you like
- and use this product, please register. Also feel free to pass the ZEUS.zip
- file UNALTERED to anyone and everyone.
-
- To register - send me just £15 to A W Bell 26a Meadow Way Reigate Surrey RH2
- 8DR ENGLAND.
-
- In return for your small contribution you will receive:
-
- A copy of ZEUS.LIB which will enable you to use my menu functions and
- other goodies - mouse driver, progresss meter, quick memo line count,
- append to database with progress meter etc
-
- An offer of Zeus for Windows at a reduced rate (once I've finished
- writing it - it may be a while.... )
-
- You will be notified of improvements to Zeus and offered these at a cut
- down rate.
-
- Notification of when ZEUSPDK (Project Development Kit) is available,
- again at a cut down price. The Zeus PDK will have these features:
-
- All program files stored in an encrypted form - prevents prying eyes
-
- TOTAL history of program development and instant recall of previous program
- files - now edits can be made with an assured backup available
-
- A DataDictionary to store Database definitions and recreate these at will
-
- A code generator to manage Database movement - in both Clipper5.X syntax as
- well as Class(y) objects. This code generator will produce REAL OPTIMIZED
- code. Those of you that have used other code generators - you know, the ones
- that clain to cut program by vast amounts - will appreciate that they
- generate 1000's of lines of code that runs like a snail on the way to its
- own funeral. Not Zeus. Zeus PDK will produce the stuff that runs as fast as
- if you wrote it yourself.
-
- It will do this because it is being written by someone (me) who will be
- using the results himself.
-
-
- GETTING STARTED.
-
- You should have placed Zeus in its own directory and placed this directory
- in your PATH statement. This will allow Zeus to edit any text file on your
- system from anywhere and still be able to access its help and default
- databases.
-
- At the command line type:
-
- ZEUS NEW to edit a new, empty file
- ZEUS file To edit an existing file (64K max length)
- ZEUS to edit the last saved file
-
- You will see, on your first entry to Zeus, a blank edit screen and a few
- status features on the bottom row. The top right will show that INSERT mode
- is on.
-
- You can start entering your program right away. You may notice that certain
- keywords are indented - try typing a DO WHILE - ENDDO routine, or a FOR -
- NEXT routine. Zeus handles the indents for you. (You can stop it from so
- doing if it annoys you.)
-
- Zeus can also prevent those errors that occur when you type a number of ('s
- and dont provide enough )'s. Whenever you type a ( or a { or a [, Zeus will
- provide the closing brace and place the cursor in the right spot. It takes a
- little getting used to, but is a real boon after a while. (This can also be
- switched of it it bugs you).
-
- To save your masterpiece, press F9. You will be asked if you wish to save
- the file and to enter the name. Once you have done this, renter Zeus. Zeus
- will now open up this file and replace the cursor exactly where you left
- off. Not only is this convenient, its a blessing when you're trying
- to eradicate a bug in Line 1459 and whatever you do, the bug wont shift. At
- least every time you return to Zeus you will return to this bit of code
- immediately, without having to scroll down or do a search.
-
- FUNCTIONS
-
- Zeus does not have any menu structures. Because its primary aim is that of
- an editor / IDE, Zeus has been configured to give priority to the MEMOEDIT
- group of functions. When you come to use the Database Utility you'll see
- that its TBrowse is no speed demon. This is the trade off - fast memoedit
- slows down other 'heavy' functions. In order to keep the overheads to a
- minimum, all Zeus functions are called from the Function keys or a
- combination of the ALT key with another key. Below are listed these keys.
-
- FUNCTION KEYS
-
- F1 - Context sensitive help. Where none exists, you will receive a list of
- avaialable topics.
-
- F2 - Toggle between 25 and 50 line modes (VGA required). The 50 line mode is
- usefull for
- scanning long, difficult routines and is a good eyesight tester.
-
- F3 - Toggles active windows - If you have more than one window open, F3 will
- switch control
- to the next open window.
-
- F4 - DEFAULTS. Pressing this allows you to change the Defaults for the
- current session - you can enter the file extension for the File manager, the
- line lenght of the text file (changeable at any time), the format pad length
- (this works for reformat only - not autoformat). You can set the tab size
- and enter a file path for the Database Field Name extractor - handy for when
- the program uses DB's in another directory. You can turn off / on the auto
- pads and brace expansion, and change the screen colour. These defaults are
- for the session only. with the exception of colour, which is retained for
- future sessions.
-
- F5 - FILE MANAGER. This gives access to all files in all directories. The
- file names are on the left, the Directories and paths are in the middle and
- the filename and extension settings are on the right. The default search is
- the current directory foer all files with the extension '.PRG'. NOTE, it is
- necessary to enter the '.' in the file extension. Use the cursor left and
- right keys to navigate these 3 categories and the up and down keys to select
- files and change directories. NOTE - the files and paths are not sorted into
- alphabetical order - this cuts out quite a large delay. However, the files
- can be selected quickly by pressing the first letter of the filename.
- NOTE - any named file in the selected window is automatically saved on
- pressing F5
-
- F6 - COMPILE - LINK - RUN. This is one of the main IDE fetaures, the ability
- to do all the work within the editor. You firstly select which of the 3
- options to perform (or select any combination of these). If you chose to
- complie, you will be asked to enter any compiler switches required. You will
- then be asked to pick a linker. If you chose to link, you can then enter the
- link line (excluding thr linkers name). If you chose a run command you can
- then enter the run command.
-
- You will be asked to confirm the link and run commands - in case of compile
- or link failure.
-
- The compile function will only compile the current file - to do a different
- one, use the run command.
-
- F8 - Database Field Grabber - this will first display a list of all DB's in
- the current directory, or the path you set using F4. Select the file and the
- fields appear. Select a field and this will be pasted into your document.
- Use ESC to cancel any of the operations.
-
- F9 - Save and exit. (Any named file will be saved automatically)
-
- F10 - search function. Enter the search text and press enter. If its found
- the cursor will go there, otherwise you will be informed no matches exist.
- NOTE this searches from the current cursor position to the end of the
- document. (see ALT_F10)
-
- F11 - Case sensitive search and replace. NOTE this replaces ALL found
- occurrences and must be used with caution.
-
- F12 - Toggle window display. If one window is displayed, pressing this
- changes the display to 2 windows, if 2 are displayed this changes it to 4.
- If 4 are dsplayed, this returns it to 1. (See ALT_F12)
-
- ALT KEYS
-
- ALT_F2 - Database utility
-
- ALT_F7 - Rename file
-
- ALT_F12 - Make current window full screen
-
- BLOCK MARKERS - COPY & PASTE
-
- ALT_B
-
- This places up to 2 block markers in the text. Place the first block at the
- befinning of the text to be copied and the second at the end. The Right Hand
- mouse button will place these as well.
-
- ALT_K
-
- Copies the text between the markers into the text buffer.
-
- ALT_M
-
- This places the insert marker into the text. (The right hand mouse button
- will do this once both block markers have been placed). The arrangement of
- insert markers allows for the text in the buffer to be simultaneously placed
- in several locations.
-
- ALT_I
-
- Inserts the text in the buffer in the place(s) marked.
-
- ALT_R
-
- Removes the block markers.
-
- PRINTER FUNCTIONS
-
- ALT_P
-
- This brings up the Printer Dialog box. Here you can select the printer
- (postscript or ASCII) and the number of copies. If you have postscript the
- text is printed in Times Roman and looks good. Press ESC during the print to
- quit.
-
-
- CALCULATORS
-
- ALT_Q - POCKET CALCULATOR
- ALT_W - SPREADSHEET
-
- TEMPLATES
-
- ALT_A
-
- Zeus has built in templates to place regularly used routines into your text.
- Two on offer - the Menu systems can only be used with the registered version
- of Zeus. The registered version of Zeus will allow blocked text to be turned
- into a User Defined templates.
-
- SCREEN DESIGNER
-
- ALT_S
-
- This system allows you to generate data entry screens for your Databases. It
- will, firstly, request you to select a DB. After a short(ish) pause it will
- present you with a browse of the database. Press P to get the screen
- designer. Use F1 to get all the help you'll need. Once the screen is
- finished, F10 will save it in binary form BUT Shift_F10 will generate the
- Clipper 5 code to include in your programs!
-
- Testing your screen can be done from within the browse by pressing A.
-
-
-
- DATA BASE UTILITY
-
- ALT_F2 - starts the utility
-
- As stated above, this utility does not fly - due to memoedit grabbing the
- best of the memory resources. However, this utility supports the CDX driver,
- which is a big plus over the DBU supplied with Clipper.
-
- This utility is a tool, and does not emulate all of the DBU features - it
- can only have one file open at a time, so you cannot use SET RELATION TO
- etc.
-
- This utility is totally MENU driven.
-
- GETTING STARTED
-
- When you enter the DBU it is CDX mode (see the box on the right hand of the
- screen).
-
- Now MOST databases created with the NTX format can be read by the CDX driver
- and vice-versa. The exception is when the DB contains a memo field. The
- default Clipper response is to say 'DataBase corruption detected' and then
- bug out. DBU however, if it cannot read the DB using the NTX driver will
- switch to the CDX. If the DB still wont open you will get a message stating
- the DB can't be opened and the program then resumes - no bugging out!
-
- One thing - the CDX driver CANNOT read NTX Index Files and the NTX driver
- won't read IDX or CDX indexes. Therefore, the first thing to do is to set
- the Default driver to the right one - use the Set Default menu prompt.
-
- Then open the file and indexe(s).
-
- The browse function is the same as in the screen designer. If, however, you
- have more than one index open (or a CDX index containing more than one tag),
- pressing ALT_I from within the browse will switch to the next index.
-
- Most of the functions available are easy to understand and use. Most will
- prompt you for the input - as in Create / amend file function.
-
- RTOPC ??
-
- Users who have the job of getting data from an AS400 can use this to go to
- the PC support function. If you don't use an AS400 ignore this.
-
- CREATE FROM FDF
-
- Another AS400 function. The AS400 created a Format Definition File (FDF)
- when it puts data on the PC. This function will create a new database from
- the information in the FDF. This saves stacks of time typing in field names
- and types etc.
-
- APPEND
-
- The append function starts with a database append as its default.
-
- To change the mode - use the space bar when the input bar is over
- 'DATABASE'. Similar use of the spacebar toggles the other defaults.
-
- ****************************************************************************
-
- That's about it for the instructions. If you have any questions please
- either write or leave me a message on a BBS (QBS for example). DO NOT PHONE
- me up or you will experience the wrath of my wife and you won't enjoy that
- at all...
-
- Send your £15 to :
-
- A W Bell
- 26a Meadow Way
- WoodHatch
- Reigate Surrey
- RH2 8DR
-
-
-
-
-
-